package com.first.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class MainController {

	@RequestMapping("/main")
	public String main(){
		System.out.println("main controller!");
		return "main";
	}
	@RequestMapping("/regist")
	public String regist(){
		System.out.println("regist controller!");
		return "register";
	}
	@RequestMapping("/logon")
	public String logon(){
		System.out.println("regist controller!");
		return "logon";
	}
	@RequestMapping("/header")
	public String header(){
		System.out.println("regist controller!");
		return "header";
	}
}
